<!--
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-07-11 09:04:01
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2024-07-26 11:12:48
 * @FilePath: /vue3-uniapp/src/components/ui/CustomNavbar/BaseNavbar.vue
-->
<script lang="ts" setup>
const props = withDefaults(
    defineProps<{
        fixed?: boolean;
        bgColor?: string;
        bottomShadow?: boolean;
    }>(),
    {
        bgColor: 'transparent',
        bottomShadow: true
    }
);
const { fixed, bottomShadow, bgColor } = toRefs(props);
</script>

<template>
    <view class="basenavbar-container">
        <TnNavbar
            :fixed="fixed || true"
            :bgColor="bgColor"
            :bottomShadow="bottomShadow"
            back-icon=""
            home-icon=""
            :safe-area-inset-right="false"
        >
            <slot></slot>
        </TnNavbar>
    </view>
</template>

<style lang="scss" scoped>
// .basenavbar-container {
// }
</style>
